gdk/wayland: Avoid relayout with the same properties
authorJonas Ådahl <jadahl@gmail.com>
Fri, 21 Feb 2020 20:30:42 +0000 (21:30 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 21 Feb 2020 20:55:16 +0000 (21:55 +0100)
commit2f13ac2e4ddf7f34f9f84eba2c32bf36478b8944
tree7108ab9b931efeec52cceb4c836a00191b5cf974
parent1d6100e7b0d4572853c00cfe49ab031072e11e4a
gdk/wayland: Avoid relayout with the same properties

When a popup is already showing, and gdk_surface_present_popup() is
called, if the layout didn't change, we're not really interested in
relayouting.

In the future, we'll be able to get notified if position of the popup
would change by some environmental changes, but until then, just don't
support it.
gdk/gdkpopuplayout.c
gdk/gdkpopuplayout.h
gdk/wayland/gdksurface-wayland.c